package com.example.securityproject.demos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (TUser)实体类
 *
 * @author makejava
 * @since 2024-04-09 16:38:44
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TUser implements Serializable {
    private static final long serialVersionUID = 115658229763008024L;

    public TUser (String username, String password) {
        this.username = username;
        this.password = password;
    }

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    private String username;
    
    private String password;
}

